package com.cmdi.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.cmdi.domain.StuStuentParent;
import com.cmdi.mapper.StuStuentParentMapper;
import com.cmdi.service.StuStuentParentService;
@Service
public class StuStuentParentServiceImpl implements StuStuentParentService{

    @Resource
    private StuStuentParentMapper stuStuentParentMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return stuStuentParentMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(StuStuentParent record) {
        return stuStuentParentMapper.insert(record);
    }

    @Override
    public int insertSelective(StuStuentParent record) {
        return stuStuentParentMapper.insertSelective(record);
    }

    @Override
    public StuStuentParent selectByPrimaryKey(Integer id) {
        return stuStuentParentMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(StuStuentParent record) {
        return stuStuentParentMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(StuStuentParent record) {
        return stuStuentParentMapper.updateByPrimaryKey(record);
    }

}
